Add necessary libraries to make it compile with -no-undefined. (#159713,
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Nov 2004 17:21:06 +0000 (17:21 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 28 Nov 2004 17:21:06 +0000 (17:21 +0000)
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

* Makefile.am (LDADDS): Add necessary libraries to make
it compile with -no-undefined.  (#159713, Robert Ögren)

modules/engines/pixbuf/ChangeLog
modules/engines/pixbuf/Makefile.am

index 76524a96beeb84b5261a730bfd4aab2365f4f8e9..8ed9ce65c5956da6896fcfbbb7518b7e3ea1c0ba 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * Makefile.am (LDADDS): Add necessary libraries to make
+       it compile with -no-undefined.  (#159713, Robert Ögren)
+
 2004-11-15  Matthias Clasen  <mclasen@redhat.com>
 
        * pixbuf-render.c: 
index 0dc2a730af78d674ffcf72881fb7f4840d55205a..c641f79abc626754e384ef597c2cb08b3a9f3a83 100644 (file)
@@ -11,6 +11,12 @@ INCLUDES = \
        -DGDK_DISABLE_DEPRECATED                        \
        $(GTK_DEP_CFLAGS)
 
+LDADDS = \
+       $(GTK_DEP_LIBS)                                 \
+        $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-2.0.la \
+       $(top_builddir)/gdk/$(gdktargetlib)             \
+       $(top_builddir)/gtk/$(gtktargetlib)             
+
 enginedir = $(libdir)/gtk-2.0/$(GTK_BINARY_VERSION)/engines
 
 engine_LTLIBRARIES = libpixmap.la
@@ -25,5 +31,5 @@ libpixmap_la_SOURCES =                \
        pixbuf.h
 
 libpixmap_la_LDFLAGS =  -avoid-version -module $(no_undefined)
-libpixmap_la_LIBADD = $(GTK_LIBS)
+libpixmap_la_LIBADD = $(LDADDS)